/**
 * http://usejsdoc.org/
 * class for person
 * param : name
 * method : sleep,eat
 */

module.exports = function(){
	this.name = 'person';
	
	/**定义sleep方法*/
	this.sleep = function(){
		console.log('sleep in the night');
	};
	/**定义eat方法*/
	this.eat = function(){
		console.log('eat food');
	};
};
